/*
 * Copyright (c) 2020, 2023, 3044483124@qq.com All rights reserved.
 *
 */
package cn.itcast;

/**
 * <p>Project: JavaStudy - Division
 * <p>Powered by jiangbo On 2023-02-18
 * 09:13:50
 * <p>Created by IntelliJ IDEA
 *
 * @author jiangbo [3044483124@qq.com]
 * @version 1.0
 * @since 8/17
 */

public class Division {
    public static void main(String[] args) {
        int a=Integer.valueOf(args[0]);
        int b=Integer.valueOf(args[1]);
        if(a%b==0){
            System.out.println("除数被整除，商为："+ a + "÷" + b + "=" + a/b);
        }else {

            System.out.println("除数未被整除，商为："+ a + "÷" + b + "=" + a/b + "\n......余数为：" + a%b);
        }
    }
}



